package com.my.zl.console.service.select;

import java.util.List;

import com.my.zl.console.entity.autocode.ZlDict;
import com.my.zl.console.entity.autocode.ZlDictDtl;
import com.my.zl.console.entity.autocode.ZlFieldMapping;
import com.my.zl.console.entity.autocode.ZlKeyword;
import com.my.zl.console.entity.autocode.ZlProject;
import com.my.zl.console.entity.autocode.ZlProjectModule;
import com.my.zl.console.entity.autocode.ZlTable;
import com.my.zl.console.entity.autocode.ZlTableColumn;
import com.my.zl.console.entity.autocode.ZlTemplate;
import com.my.zl.console.entity.autocode.ZlTemplateDtl;
import com.my.zl.console.entity.autocode.ZlValidation;
import com.my.zl.console.entity.autocode.ZlWebComponent;

/**
 *  
 * @author ZL
 */
public interface ISelectService {
    
    List<ZlDict> queryDictForSelect() throws Exception;

    List<ZlDictDtl> queryDictDtlForSelect(String type) throws Exception;
    
    List<ZlProject> queryProjectForSelect() throws Exception;

    List<ZlProjectModule> queryProjectModuleForSelect(String projectId) throws Exception;

    List<ZlTable> queryTableForSelect(String projectId) throws Exception;
    
    List<ZlTableColumn> queryTableColumnForSelect(String tableCode) throws Exception;

    List<ZlTemplate> queryTemplateForSelect(String moduleId) throws Exception;

    List<ZlTemplateDtl> queryTemplateDtlForSelect(String templateId) throws Exception;

    List<ZlValidation> queryValidationForSelect(String projectId) throws Exception;

    List<ZlFieldMapping> queryFieldMappingForSelect() throws Exception;

    List<ZlKeyword> queryKeywordForSelect() throws Exception;
    
    List<ZlWebComponent> queryWebComponentForSelect(String projectId) throws Exception;
    
    
    ZlTemplate queryTemplate(String templateId) throws Exception;
    
    ZlProject queryProject(String projectId) throws Exception;
    
    ZlTemplateDtl queryTemplateDtl(String templateFileId) throws Exception;
}